home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Official HTML Publishing…scape (Macintosh Edition)
/
Official HTML Publishing for Netscape - Macintosh Edition.iso
/
Mac 68K Launch Me
/
Mac 68K Launch Me.rsrc
/
CODE_65_OSMenu.txt
< prev
next >
Wrap
Text File
|
1996-08-14
|
7KB
|
125 lines
# near model CODE resource
# jump table entries: 64520-64536 (17 of them)
00000000 FFFF .extension 0xFFF // unimplemented
00000002 FC08 .extension 0xC08 // unimplemented
00000004 0000 0134 ori.b D0, 0x34 /* '4' */
00000008 594F subq.w A7, 4
0000000A 3F2F 0008 move.w -[A7], [A7 + 0x8]
0000000E 2F2F 000C move.l -[A7], [A7 + 0xC]
00000012 A931 syscall NewMenu
00000014 205F movea.l A0, [A7]+
00000016 2008 move.l D0, A0
00000018 4E75 rts
0000001A 2F2F 0004 move.l -[A7], [A7 + 0x4]
0000001E 2F2F 000E move.l -[A7], [A7 + 0xE]
00000022 A933 syscall AppendMenu
00000024 7000 moveq.l D0, 0x00
00000026 4E75 rts
00000028 554F subq.w A7, 2
0000002A 2F2F 0006 move.l -[A7], [A7 + 0x6]
0000002E A950 syscall CountMItems
00000030 301F move.w D0, [A7]+
00000032 4E75 rts
00000034 2F0A move.l -[A7], A2
00000036 246F 0008 movea.l A2, [A7 + 0x8]
0000003A 4A92 tst.l [A2]
0000003C 6706 beq +0x8 /* 00000044 */
0000003E 2F12 move.l -[A7], [A2]
00000040 A932 syscall DisposeMenu
00000042 4292 clr.l [A2]
label00000044:
00000044 7000 moveq.l D0, 0x00
00000046 245F movea.l A2, [A7]+
00000048 4E75 rts
0000004A 2F2F 0004 move.l -[A7], [A7 + 0x4]
0000004E 4EAD BAC0 jsr [A5 - 0x4540]
00000052 7000 moveq.l D0, 0x00
00000054 584F addq.w A7, 4
00000056 4E75 rts
00000058 594F subq.w A7, 4
0000005A A93B syscall GetMenuBar
0000005C 205F movea.l A0, [A7]+
0000005E 2008 move.l D0, A0
00000060 4E75 rts
00000062 2F2F 0004 move.l -[A7], [A7 + 0x4]
00000066 A93C syscall SetMenuBar
00000068 7000 moveq.l D0, 0x00
0000006A 4E75 rts
0000006C A937 syscall DrawMenuBar
0000006E 7000 moveq.l D0, 0x00
00000070 4E75 rts
00000072 A934 syscall ClearMenuBar
00000074 7000 moveq.l D0, 0x00
00000076 4E75 rts
00000078 2F2F 0004 move.l -[A7], [A7 + 0x4]
0000007C 3F2F 000C move.w -[A7], [A7 + 0xC]
00000080 A935 syscall InsertMenu
00000082 7000 moveq.l D0, 0x00
00000084 4E75 rts
00000086 2F2F 0008 move.l -[A7], [A7 + 0x8]
0000008A 206F 0008 movea.l A0, [A7 + 0x8]
0000008E 2050 movea.l A0, [A0]
00000090 4868 000E pea.l [A0 + 0xE]
00000094 4EAD B008 jsr [A5 - 0x4FF8]
00000098 7000 moveq.l D0, 0x00
0000009A 504F addq.w A7, 8
0000009C 4E75 rts
0000009E 2F2F 0004 move.l -[A7], [A7 + 0x4]
000000A2 3F2F 000C move.w -[A7], [A7 + 0xC]
000000A6 2F2F 0010 move.l -[A7], [A7 + 0x10]
000000AA A946 syscall GetMenuItemText/GetItem
000000AC 7000 moveq.l D0, 0x00
000000AE 4E75 rts
000000B0 2F2F 0004 move.l -[A7], [A7 + 0x4]
000000B4 3F2F 000C move.w -[A7], [A7 + 0xC]
000000B8 2F2F 0010 move.l -[A7], [A7 + 0x10]
000000BC A947 syscall SetMenuItemText/SetItem
000000BE 7000 moveq.l D0, 0x00
000000C0 4E75 rts
000000C2 302F 0008 move.w D0, [A7 + 0x8]
000000C6 48C0 ext.l D0
000000C8 7201 moveq.l D1, 0x01
000000CA E1A9 lsl D1, D0
000000CC 206F 0004 movea.l A0, [A7 + 0x4]
000000D0 2050 movea.l A0, [A0]
000000D2 C2A8 000A and.l D1, [A0 + 0xA]
000000D6 4A81 tst.l D1
000000D8 56C1 sne D1
000000DA 4401 neg.b D1
000000DC 49C1 lea.l A4, D1
000000DE 1001 move.b D0, D1
000000E0 4E75 rts
000000E2 4A2F 000A tst.b [A7 + 0xA]
000000E6 670C beq +0xE /* 000000F4 */
000000E8 2F2F 0004 move.l -[A7], [A7 + 0x4]
000000EC 3F2F 000C move.w -[A7], [A7 + 0xC]
000000F0 A939 syscall EnableItem
000000F2 600A bra +0xC /* 000000FE */
label000000F4:
000000F4 2F2F 0004 move.l -[A7], [A7 + 0x4]
000000F8 3F2F 000C move.w -[A7], [A7 + 0xC]
000000FC A93A syscall DisableItem
label000000FE:
000000FE 7000 moveq.l D0, 0x00
00000100 4E75 rts
00000102 554F subq.w A7, 2
00000104 2F2F 0006 move.l -[A7], [A7 + 0x6]
00000108 3F2F 000E move.w -[A7], [A7 + 0xE]
0000010C 486F 0006 pea.l [A7 + 0x6]
00000110 A943 syscall GetItmMark
00000112 4A57 tst.w [A7]
00000114 56C0 sne D0
00000116 4400 neg.b D0
00000118 49C0 lea.l A4, D0
0000011A 544F addq.w A7, 2
0000011C 4E75 rts
0000011E 2F2F 0004 move.l -[A7], [A7 + 0x4]
00000122 3F2F 000C move.w -[A7], [A7 + 0xC]
00000126 1F2F 0010 move.b -[A7], [A7 + 0x10]
0000012A A945 syscall CheckItem
0000012C 7000 moveq.l D0, 0x00
0000012E 4E75 rts
00000130 0000 0000 ori.b D0, 0x0
00000134 0000 0000 ori.b D0, 0x0
00000138 0000 0000 ori.b D0, 0x0